home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Toolbox
/
Visual Basic Toolbox (P.I.E.)(1996).ISO
/
buttons
/
navbtn
/
readme.txt
< prev
Wrap
Text File
|
1995-07-09
|
2KB
|
43 lines
The navButton Custom Control
This control provides a set of buttons to replace the buttons attached to the
Data Control. The buttons are separate from the control (so they can be
placed anywhere on your form and can be sized) and are intelligently
enabled and disabled based on whether a next or a previous record exists
in the underlying dataset.
There are two properties to be concerned with: Style, which controls whether
the button is a FIRST, PREVIOUS, NEXT, or LAST button; and AutoDisable (ON
be default) which controls whether the button is enabled/disabled
automatically.
There is no Click event. Instead, a BEFORE and an AFTER event are provided.
The BEFORE event allows the program to test whether the action should be
taken in the current context (it could, for example, check to see if
data should be saved before the current record is changed). The BEFORE
event also allows the action to be cancelled.
The AFTER event is fired after the current record has been changed. Typically,
this is where you update your non-bound controls (such as radio buttons).
This program is not Freeware, it is Shareware. It is not disabled in any
way, nor does it have a "nag notice". However, I trust your honesty
that you will, once you have determined the suitability of this code,
send me $5.00 to officially license the code.
For that $5, I will record your name and address and notify you of fixes
and updates for the product. I will not release your name to mailing
list.
Send $5 to:
H. Eric Theis, Jr.
849 Boston Post Rd #5H
Marlborough, MA 01752
I can be reached on Compuserve at 76270, 1533 for questions and comments.
Source code is also available.